﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="smtp_list.aspx.cs" Inherits="smtp_list" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>SMTP列表</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Master" Runat="Server"> 
        <asp:DataList ID="DataList_SMTP" runat="server" 
    onitemcommand="DataList_SMTP_ItemCommand">
        <HeaderTemplate>
        <table id="tb_mu" class="table table-striped table-bordered table-hover">
            <thead>
                <tr>
                    <th class="c1">昵称</th>
                    <th class="c2">服务器地址</th>
                    <th class="c3">端口</th>
                    <th class="c4">用户名</th>
                    <th>管理</th>
                </tr>
            </thead>
        <tbody> 
        </HeaderTemplate>
        <ItemTemplate>
            <tr id='<%# Eval("id") %>'> 
                <td class="c1"><%# Eval("name") %></td>
                <td class="c2"><%# Eval("smtpmail") %></td>
                <td class="c3"><%# Eval("port") %></td>
                <td class="c4"><%# Eval("username") %></td>
                <td>管理</td>  
            </tr>  
        </ItemTemplate>
        <FooterTemplate></tbody></table>
        <div class="pagination">
            <ul class="pull-right">
                <li class="disabled">
                    <asp:LinkButton ID="LB_Previous" CommandName="Previous" runat="server">&#8592;</asp:LinkButton></li>
                <li class="active"><a><asp:Label ID="Lb_page" runat="server" Text="1"></asp:Label></a></li>
                <li class="disabled"><a>&#8594;</a></li>
            </ul>
         </div>  
        </FooterTemplate>
        </asp:DataList>
</asp:Content>

